import { createSlice } from "@reduxjs/toolkit";
import dayjs from "dayjs";

export const CitySlice = createSlice({
  name: "CitySlice",
  initialState: {
    start: "北京",
    end: "广州",
    date: dayjs().format("YYYY-MM-DD"),
  },
  reducers: {},
});

// Action creators are generated for each case reducer function
export const {  } = CitySlice.actions;

export default CitySlice.reducer;
